//
//  firstFlowLayout.m
//  Protect -A
//
//  Created by 付剑英 on 16/6/16.
//  Copyright © 2016年 付剑英. All rights reserved.
//

#import "firstFlowLayout.h"

@implementation firstFlowLayout

//设置大小
-(instancetype)init{
    self = [super init];
    if (self) {
        
        //item大小
        
        self.itemSize = CGSizeMake(([UIScreen mainScreen].bounds.size.width-130)/4, (300-60)/2);
        //最小横向
        self.minimumInteritemSpacing = 20;
        //最小纵向
        self.minimumLineSpacing = 30;
        //距离上下左右的距离
        self.sectionInset = UIEdgeInsetsMake(20, 20, 20, 20);
    }
    return self;
}





@end
